package cate.game.role.bag.rune.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBBag;

@ClientMsg(title = "徽章 初始化数据 の 请求")
public class RuneInitReq implements MsgInput {

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new RuneInitResp(cc.getRole()));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBBag.RUNE_INIT_REQ;
    }
}
